﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;
namespace Bussiness.User
{
    public class UserBLL
    {
        private DataAccess.User.UserDAL dal;
        public UserBLL( )
        {
            dal = new DataAccess.User.UserDAL();
        }
       public bool checkLogin(string email, string password)
        {
            return dal.checkLogin(email, password);
        }
       public FOModels.User.User seachUser(string userid)
       {
           return dal.seacrhUser(userid);
       }
       public string[] RoleForUser(string username)
       {
           return dal.RoleForUser(username);
       }
    }
}
